package master;

import gate.ServerPackage;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import org.jhotdraw.draw.Figure;

import util.ResponsePackage;



import client.remote.ClientReceiver;





public interface MasterInterface extends Remote
{
	void addChatMessage(String msg,Long tick) throws RemoteException;
	ResponsePackage<Long> register(ClientReceiver clientReceiver) throws RemoteException;
	void onStartButton(long clientId,Long tick) throws RemoteException;
	void unregister(long clientId,Long tick) throws RemoteException;
	void statusCheck(Long tick) throws RemoteException;
	
	void build(ServerPackage servPackage,Long tick) throws RemoteException;
}
 